import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const sellerpage =()=>import('../pages/SellerPage.vue')
const trendpage =()=> import('../pages/TrendPage.vue')
const mappage =()=> import('../pages/MapPage.vue')
const rarkpage =()=> import('../pages/RarkPage.vue')
const hotpage =()=> import('../pages/HotPage.vue')
const stockpage =()=> import('../pages/StockPage.vue')
const screenpage =()=> import('../pages/screenPage.vue')

const router = new VueRouter({
    routes:[
       {
         path:'/',
         redirect:'/screenpage'
       },
       {
        path:'/screenpage',
        component:screenpage
       },
       {
        path:'/seller',
        component:sellerpage
       },
       {
        path:'/trendpage',
        component:trendpage
       },
       {
        path:'/mappage',
        component:mappage
       },
       {
        path:'/rarkpage',
        component:rarkpage
       },
       {
        path:'/hotpage',
        component:hotpage
       },
       {
        path:'/stockpage',
        component:stockpage
       }
    ]
})

export default router